<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<option value="0">--请选择--</option>
<c:forEach items="${listcategoryLevel1}" var="list1">
    <c:choose>
        <c:when test="${categoryLevel1==list1.id}">
            <option value="${list1.id}" selected>${list1.categoryname}</option>
        </c:when>
        <c:otherwise><option value="${list1.id}">${list1.categoryname}</option></c:otherwise>
    </c:choose>
</c:forEach>
